package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_stele_soul_activity", autoSave = true, dataUpload = true, eventName = "stele_draw",desc = "石碑铸魂注魂逻辑（抽奖）日志",uploadCk = true)
public class LogSteleSoulActivity extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "层数id", dataAttribute = "stele_floor")
    private int round;
    @FieldTypeAnnotation(desc = "圈数id", dataAttribute = "stele_lap")
    private int circle;
    @FieldTypeAnnotation(desc = "消耗魂元", dataAttribute = "stele_use")
    private int costCount;
    @FieldTypeAnnotation(desc = "是否为彩蛋", dataAttribute = "stele_isbig")
    private boolean isEgg;


    public LogSteleSoulActivity(int activityId, long userId, int round, int circle, int costCount, boolean isEgg, Date time) {
        this.activityId = activityId;
        this.userId = userId;
        this.round = round;
        this.circle = circle;
        this.costCount = costCount;
        this.isEgg = isEgg;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public int getCircle() {
        return circle;
    }

    public void setCircle(int circle) {
        this.circle = circle;
    }

    public int getCostCount() {
        return costCount;
    }

    public void setCostCount(int costCount) {
        this.costCount = costCount;
    }

    public boolean isEgg() {
        return isEgg;
    }

    public void setEgg(boolean egg) {
        isEgg = egg;
    }

}

